package com.ruoyi.project.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * project对象 Project
 * 
 * @author ruoyi
 * @date 2024-07-01
 */
public class Project extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目唯一标识，自动递增，作为主键 */
    private Long ProjectId;

    /** 项目名称，不可为空 */
    @Excel(name = "项目名称，不可为空")
    private String ProjectName;

    /** 项目描述 */
    @Excel(name = "项目描述")
    private String Description;

    /** 项目开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "项目开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date StartDate;

    /** 项目结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "项目结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date EndDate;

    /** 项目预算 */
    @Excel(name = "项目预算")
    private BigDecimal Budget;

    /** 项目所属公司ID，不可为空 */
    @Excel(name = "项目所属公司ID，不可为空")
    private Long CompanyId;

    /** 项目成果展示，用于存放图片和视频等 */
    @Excel(name = "项目成果展示，用于存放图片和视频等")
    private String ResultsDisplay;

    /** 项目申请资金 */
    @Excel(name = "项目申请资金")
    private BigDecimal FundingRequested;

    /** 资金审批状态 */
    private String FundingApprovalStatus;

    public void setProjectId(Long ProjectId) 
    {
        this.ProjectId = ProjectId;
    }

    public Long getProjectId() 
    {
        return ProjectId;
    }
    public void setProjectName(String ProjectName) 
    {
        this.ProjectName = ProjectName;
    }

    public String getProjectName() 
    {
        return ProjectName;
    }
    public void setDescription(String Description) 
    {
        this.Description = Description;
    }

    public String getDescription() 
    {
        return Description;
    }
    public void setStartDate(Date StartDate) 
    {
        this.StartDate = StartDate;
    }

    public Date getStartDate() 
    {
        return StartDate;
    }
    public void setEndDate(Date EndDate) 
    {
        this.EndDate = EndDate;
    }

    public Date getEndDate() 
    {
        return EndDate;
    }
    public void setBudget(BigDecimal Budget) 
    {
        this.Budget = Budget;
    }

    public BigDecimal getBudget() 
    {
        return Budget;
    }
    public void setCompanyId(Long CompanyId) 
    {
        this.CompanyId = CompanyId;
    }

    public Long getCompanyId() 
    {
        return CompanyId;
    }
    public void setResultsDisplay(String ResultsDisplay) 
    {
        this.ResultsDisplay = ResultsDisplay;
    }

    public String getResultsDisplay() 
    {
        return ResultsDisplay;
    }
    public void setFundingRequested(BigDecimal FundingRequested) 
    {
        this.FundingRequested = FundingRequested;
    }

    public BigDecimal getFundingRequested() 
    {
        return FundingRequested;
    }
    public void setFundingApprovalStatus(String FundingApprovalStatus) 
    {
        this.FundingApprovalStatus = FundingApprovalStatus;
    }

    public String getFundingApprovalStatus() 
    {
        return FundingApprovalStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ProjectId", getProjectId())
            .append("ProjectName", getProjectName())
            .append("Description", getDescription())
            .append("StartDate", getStartDate())
            .append("EndDate", getEndDate())
            .append("Budget", getBudget())
            .append("CompanyId", getCompanyId())
            .append("ResultsDisplay", getResultsDisplay())
            .append("FundingRequested", getFundingRequested())
            .append("FundingApprovalStatus", getFundingApprovalStatus())
            .toString();
    }
}
